package common.store.web.service.impl;




import common.store.admin.dto.Category;
import common.store.web.dao.CategoryDao;
import common.store.web.service.CategoryService;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {

    private CategoryDao categoryDao;

    public CategoryServiceImpl(){
        categoryDao = new CategoryDao();
    }

    @Override
    public List<Category> getCategoryList() {
        return categoryDao.getCategoryList();
    }
}
